.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #909399;
  border-radius: 50%;
  margin-right: 4px;
  &.success {
    background: rgb(82, 196, 26);
  }
  &.warning {
    background: rgb(250, 173, 20);
  }
  &.danger,.error {
    background: rgb(224, 32, 32);
  }
}
[class*=" badge-dot-"],
[class^="badge-dot-"] {
  position: relative;
  margin-left: 8px;

  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-150%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #909399;
  }
}
.badge-dot-success {
  &::before {
    background: rgb(82, 196, 26);
  }
}
.badge-dot-warning {
  &::before {
    background: rgb(250, 173, 20);
  }
}
.badge-dot-danger,.badge-dot-error  {
  &::before {
    background: rgb(224, 32, 32);
  }
}
.badge-dot {
  line-height: 1;
  vertical-align: baseline;
  -webkit-font-smoothing: antialiased;
  margin-left: 8px;

  position: relative;
  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-150%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #909399;
    z-index: 999;
  }
  &.success {
    &::before {
      background: rgb(82, 196, 26);
    }
  }
  &.warning {
    &::before {
      background: rgb(250, 173, 20);
    }
  }
  &.danger {
    &::before {
      background: rgb(224, 32, 32);
    }
  }
}
